package ooday03;

public class Chick extends Animal {
    Chick(String name, int age, String color) {
        super(name, age, color);
    }

    void layegg() {
        System.out.println(name + "在下蛋");

    }

    void eat() {
        System.out.println("一只" + color + "叫做" + name + "的鸡在吃东西");
    }
}
